export default [
    {
        path: '/404',
        component: (resolve) => require(['page/404.vue'], resolve),
        name: 'Error',
        // 这种方式需要下载npm install @babel/plugin-syntax-dynamic-import -D
        // component: () => import(/* webpackChunkName: "group-foo" */ './Foo.vue')
    },
    // 层级最低一个匹配规则
    {
        path: "*",
        redirect: "/404",
        name: 'RedirectError',
    }
]